package com.tbit.main.service;

import com.tbit.main.pojo.WorkTypeObject;

import java.util.List;

/**
 * @author LMY
 * @create 2021-09-08 20:16
 * 工单类型
 */
public interface WorkTypeObjectService {

    /**
     * 根据区域查询
     *
     * @param accountId
     * @return
     */
    List<WorkTypeObject> getByAccountId(Integer accountId);

    /**
     * 添加
     *
     * @param workTypeObject
     */
    void add(WorkTypeObject workTypeObject);

    /**
     * 删除
     *
     * @param workType
     */
    void del(Integer workType);

    /**
     * 根据id查询
     *
     * @param workType
     * @return
     */
    WorkTypeObject getWorkType(Integer workType);

    /**
     * 更新
     *
     * @param workTypeObject
     */
    void update(WorkTypeObject workTypeObject);
}
